package Animal_And_Interface;

public class Panda extends Animal implements IRunning{
    public Panda(String name){
        super(name);
    }

    @Override
    public void eatFood() {
        System.out.println(this.name + "正在吃竹子！");
    }

    @Override
    public void run() {
        System.out.println(this.name + "正在用熊腿跑！");
    }
}